<template id="jxtj">
    <div class="jxtj-wrap">
        <div class="jxtj-img00">
            <img src="../../../data/assets/images/jxtj-00.png" alt="">
        </div>
        <div class="jxrx">
            <h4>京喜热销</h4>
            <ul>
                <li v-for="(v,i) in list01">
                    <router-link to="/type">
                        <img :src="v.src">
                        <p>{{v.con}}</p>
                    </router-link></li>
            </ul>
        </div>
    </div>
</template>
<script >
	export default{
		data(){
			return{
				list01:[]
			}
		},
		mounted(){
            this.$http.get('./data/jxtj.json')
            .catch(function(error){
                console.log(error);
            })
			.then((res)=>{
				this.list01=res.data.list01
			})
		}
	}
</script>
<style scoped>
.jxtj-wrap{
    padding: 0 15px 15px 15px;
}
.jxrx h4{
    color: #666;
    font-size: 14px;
    margin: 15px 0 5px;
}
.jxrx ul{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.jxrx li{
    width: 33.3%;
    padding: 10px;
    text-align: center;
}
img{
    width: 100%;
}
.jxtj-img00{
    margin-top: 10px;
}
a{
    color: #666;
    font-size: 12px;
    text-decoration: none;
}
</style>